package com.okami.domain.superman;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;

/**
 * @author: TanJingyu
 * @create: 2021-01-03 16:42
 **/
@Entity
@Table
@Data
@Accessors(chain = true)
public class Superman {
    @Id
    private String id;

    @Column
    private String name;

    @Version
    private Integer version;

}
